Imagely\NGG\DataTypes\LegacyThumbnail D

Total Complexity 170
Dependencies 3
Dependents 2
Total lines 1,227
Lines of code 755
Logical lines of code 472
Comment lines 324
Methods 33
Properties 16

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
C
32 24 106
watermarkImage()
A
39 14 66
checkMemoryForData()
A
43 14 45
show()
A
48 12 36
crop()
A
45 11 49
watermarkCreateText()
A
41 9 56
rotateImageAngle()
A
46 10 39
cropFromCenter()
S
49 6 35
hex2rgb()
S
58 7 13
destruct()
S
63 7 11
resize()
S
49 5 34
checkMemoryForImage()
S
55 6 19
createReflection()
S
46 3 42
flipImage()
S
61 5 11
resizePercent()
S
51 3 29
resizeFix()
S
52 3 28
save()
S
63 3 11
correct_gd_unc_path()
S
67 3 7
imageFlipVertical()
S
64 3 9
imagecopyresampled()
S
61 3 10
calcImageSize()
S
59 2 15
calcPercent()
S
62 2 11
calcWidth()
S
62 2 11
calcHeight()
S
62 2 11
rotateImage()
S
74 2 4
calcImageSizePercent()
S
73 2 5
showErrorImage()
S
62 1 11
ImageTTFBBoxDimensions()
S
61 1 11
getCurrentHeight()
S
80 1 3
getCurrentWidth()
S
80 1 3
applyFilter()
S
72 1 5
__destruct()
S
82 1 3
imagecopymerge_alpha()
S
68 1 6